$(document).ready( function(){
	$("#ImageList td").click( function(e){
		$("#GalleryImage").attr("src",$(this).children("a").eq(-1).attr("href"));
	});
	$("#GalleryImage").click( function(e){
		// todo: enlarge to linked fullscreen image
		document.location=$("#GalleryImage").attr("src");
	});
});